package com.zy.explore.license.domain.mybatis.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zy.explore.license.infrastructure.base.mybatis.MpBaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Id;

/**
 * 站内信内容表(表station_msg)ORM实体对象
 *
 * @author ZY
 * @date 2021-05-30 21:01:53
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("station_msg")
public class StationMsg extends MpBaseEntity<StationMsg, Long> {

    /**
     * 主键ID
     */
    @Id
    @TableId
    private Long id;

    /**
     * 优先级：1.普通 2.重要 3.紧急
     */
    private Integer priority;

    /**
     * 消息标题
     */
    private String title;

    /**
     * 消息类型：1.系统公告 2.系统通知
     */
    private Integer msgType;

    /**
     * 站内信内容
     */
    private String msgContent;

}